<!DOCTYPE HTML>
<html>

<head>
  <script src="test.js"></script>
</head>

<body style="margin:0;padding:0;overflow:hidden;">

  <canvas id="myCanvas" style="margin:0;max-width:100vw;max-height:100vh;">your browser does not support the canvas tag </canvas>

</body>

</html>